package com.example.wanjinyou.service;

import com.example.wanjinyou.pojo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wanjinyou.vo.UserVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr.Chen
 * @since 2022-10-20
 */
public interface UserService {

    /**
     * 根据userid 查找用户
     * @param authorId
     * @return
     */
    User findUserById(Long authorId);

    /**
     * 根据用户id,查找用户信息,UserVo对象
     * @param authorId
     * @return
     */
    UserVo findUserVoById(Long authorId);
}
